package com.lnking.lnkingplace.model.request.suggest;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("建议修改模型")
public class SuggestUpdateRequest {

    @ApiModelProperty(value = "主键")
    @NotNull(message = "[id]不能为空")
    @NotBlank(message = "[id]不能为空")
    private String id;

    @ApiModelProperty(value = "通知内容")
    @NotNull(message = "[content]不能为空")
    @NotBlank(message = "[content]不能为空")
    private String content;

    @ApiModelProperty(value = "类型：个人建议，场所建议")
    @NotNull(message = "[type]不能为空")
    @NotBlank(message = "[type]不能为空")
    private String type;
}
